CarRouteRequest

class CarRouteRequest(mapboxNavigation: MapboxNavigation, navigationLocationProvider: NavigationLocationProvider)

Service class that requests routes for the preview screen.

Constructors

CarRouteRequest
Link copied to clipboard
fun CarRouteRequest(mapboxNavigation: MapboxNavigation, navigationLocationProvider: NavigationLocationProvider)

Functions

cancelRequest
Link copied to clipboard
fun cancelRequest()
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
request
Link copied to clipboard
fun request(placeRecord: PlaceRecord, callback: CarRouteRequestCallback)
When a search result was selected, request a route.
requestSync
Link copied to clipboard
suspend fun requestSync(placeRecord: PlaceRecord): List<NavigationRoute>?
toString
Link copied to clipboard
open fun toString(): String

Properties

mapboxNavigation
Link copied to clipboard
val mapboxNavigation: MapboxNavigation